package com.itheima.health.controller;

import com.itheima.health.entity.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author wangbowen
 * @Date 2020/2/25 20:12
 * @Version version 1.0
 * @Description 处理访问被拒
 */
@RequestMapping("/acction")
@RestController
public class Acction4ErrorController {
    @RequestMapping("/accessDenied")
    public Result accessDenied(){
        return new Result(false,"权限不足");
    }

}
